package com.czwj.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.czwj.dao.CameraTimeMapper;
import com.czwj.entities.CameraTime;
import com.czwj.service.CameraTimeService;

/**
* @ClassName: CameraTimeServiceImpl
* @Description: TODO
* @author H
* @date 2020年7月10日
*
*/
@Service
public class CameraTimeServiceImpl implements CameraTimeService{
	@Resource
	CameraTimeMapper mapper;
	/** 
	* 
	* @return
	* @see com.czwj.service.CameraTimeService#search()
	*/
	@Override
	public List<CameraTime> search(){
		// TODO Auto-generated method stub
		return this.mapper.search();
	}
	/** 
	* 
	* @param item
	* @return
	* @see com.czwj.service.CameraTimeService#update(com.czwj.entities.CameraTime)
	*/
	@Override
	public int update(CameraTime item){
		// TODO Auto-generated method stub
		return this.mapper.updateByPrimaryKeySelective(item);
	}
}
